home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
DEMONSTR
/
ATEASY_2.ZIP
/
DLLEXAMP
< prev
next >
Wrap
Text File
|
1992-07-30
|
882b
|
44 lines
# ****************************************************************************
#
# DLL general NMake file
#
# ****************************************************************************
CL=cl -c -ALw -G2sw -W3 -Zpe -Os $*.c
Target=dllexamp # change to your dll base file name
#TargetRC= # put '#' before TARGETRC if no .rc exist
all: $(Target).dll
!IFDEF TargetRC
$(Target).res: $*.rc $*.h
rc -r $*.rc
!ENDIF
$(Target).obj: $*.c
$(CL)
#libentry.obj: $*.asm
# masm -Mx $*, $*;
$(Target).dll: libentry.obj $(Target).obj $(Target).def
link /al:16 /NOD /NOE $* libentry.obj, $*.dll, , libw ldllcew win87em, $*.def
!IFDEF TargetRC
rc -30 $*.res $*.dll
!ELSE
rc -30 $*.dll
!ENDIF
!IFDEF TargetRC
$(Target).dll: $*.res
rc -30 $*.res $*.dll
!ENDIF